<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 22.08.14
 * Time: 19:21
 */

namespace Messenger;


use Pinenut\Model2\Embedded\Reference;

class Unseen extends Reference
{
    /**
     * Количество непросмотренных сущностей
     * @var int
     */
    public $count;

    static function fields()
    {
        return array_merge(
            parent::fields(),
            [
                'count' => self::INT,
            ]
        );
    }
} 